package com.example.demo.login.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

import java.util.List;

/**
 * @ClassName LoginController
 * @Author lys4134
 * @Date 2021/08/05 10:01:38
 * @Description LoginController
 * @Version 1.0
 **/
@Controller
//@RequestMapping
public class LoginController {

    @GetMapping("/")
    public ModelAndView index() {

        return new ModelAndView("index");
    }
}
